<?php
namespace Admin\Controller;
use Think\Controller;
use Myself\FileSystem;
class CommonController extends Controller {


	public function _initialize(){
		if(!$this->is_login()){
		
        $this->redirect('Login/index');
        }
	}
		
	 public function is_login(){
        if($_SESSION['admin_user_id']){
            return true;
        }else{
            return false;
        }
    }
	
    
	
   
		

		
	
	
		

  
		
		
		
		
		
		
		
		
		
		
			
		
		
}